<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Gameshow</title>

<link rel ="stylesheet" type="text/css" href="<?php echo $baseurl.'public/css/custom.css'?>"/>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
</head>

<body>
<div class="mainwrapper">
        
        <a class="logout" href="<?php echo $baseurl.'logout.html'?>">Logout</a>
        
        <?php $this->load->view("template/".($controller ? $controller : 'index')."/".($action ? $action : 'index'),'');?>
            
</div><!--mainwrapper-->
</body>
</html>
